package com.pan.admin.module.loanConfig.entity;

import com.pan.admin.common.annotation.Excel;
import com.pan.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 动态单字段值对象 loan_form_field_value
 *
 * @author ts
 * @date 2023-09-11
 */
public class LoanFormFieldValue extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 动态表单字段主键ID
     */
    @Excel(name = "动态表单字段主键ID")
    private Long loanFormFieldId;

    /**
     * 字段值
     */
    @Excel(name = "字段值")
    private String fieldValue;

    /**
     * 映射值
     */
    @Excel(name = "映射值")
    private String mappingValue;

    /**
     * 状态(0禁用， 1启用)
     */
    @Excel(name = "状态(0禁用， 1启用)")
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMappingValue() {
        return mappingValue;
    }

    public void setMappingValue(String mappingValue) {
        this.mappingValue = mappingValue;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setLoanFormFieldId(Long loanFormFieldId) {
        this.loanFormFieldId = loanFormFieldId;
    }

    public Long getLoanFormFieldId() {
        return loanFormFieldId;
    }

    public void setFieldValue(String fieldValue) {
        this.fieldValue = fieldValue;
    }

    public String getFieldValue() {
        return fieldValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("loanFormFieldId", getLoanFormFieldId())
                .append("fieldValue", getFieldValue())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
